home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 25 / Cream of the Crop 25.iso / utility / ffe101.zip / GRAPH.SWG / 0009_IFF.pas < prev    next >
Pascal/Delphi Source File  |  1996-09-04  |  978b  |  25 lines

  1. --------f-IFF-M-----------------------------
  2.  
  3. The  IFF  format  is  comparable to the  RIFF  file  format, but it uses
  4. Motorola  byte  ordering. After the  FORM  header, the different records
  5. follow.  Each  record has a header ID  of 4 bytes and then following the
  6. size  of the data (in Motorola byte ordering). Each IFF record starts on
  7. an  even byte boundary, that means if the record length is odd, you will
  8. have to skip one more byte to get the next record.
  9.  
  10. OFFSET                  Count    TYPE Description
  11. 0000h                   4 char   ID='FORM'
  12. 0004h                   1 dword  Size of the whole IFF block
  13. 0008h                   4 char   Type of the IFF file
  14.  
  15. Each IFF record has the following format :
  16.  
  17. OFFSET              Count TYPE   Description
  18. 0000h                   4 char   ID
  19. 0004h                   1 dword  Blocksize
  20. 0008h                   ? byte   Block data, depends on block type.
  21.  
  22. OCCURENCES:Amiga,PC
  23. SEE ALSO:8SVX,LBM,RIFF
  24.  
  25.